<template>
	<view class="page-container">
		<!-- 蓝色背景区域 -->
		<view class="header-bg"></view>
		
		<!-- 悬浮内容区域 -->
		<view class="content-container">
			<!-- 成功图标 -->
			<view class="success-icon-container">
				<view class="success-icon">
					<text class="checkmark">✓</text>
				</view>
			</view>
			
			<!-- 成功文字 -->
			<text class="success-text">添加成功</text>
			
			<!-- 返回按钮 -->
			<button class="return-btn" @click="goBack">
				<text class="btn-text">返回</text>
			</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			// 页面加载时的逻辑
		},
		methods: {
			// 返回车辆列表页面
			goBack() {
				uni.navigateTo({
					url: '/pages/my/mycar/mycar'
				});
			}
		}
	}
</script>

<style scoped>
	.page-container {
		position: relative;
		width: 100%;
		min-height: 100vh;
		background-color: #f5f5f5;
	}
	
	/* 蓝色背景区域 */
	.header-bg {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 300rpx;
		background: linear-gradient(135deg, #3385fd 0%,#3385fd 100%);
		z-index: 1;
	}
	
	/* 悬浮内容区域 */
	.content-container {
		position: absolute;
		top: 20rpx;
		left: 3%;
		width: 84%;
		background-color: #ffffff;
		border-radius: 20rpx;
		box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.1);
		z-index: 2;
		padding: 40rpx 40rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 500rpx;
	}
	
	/* 成功图标容器 */
	.success-icon-container {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 40rpx;
	}
	
	/* 成功图标 */
	.success-icon {
		width: 160rpx;
		height: 160rpx;
		background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
		border-radius: 80rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		box-shadow: 0 8rpx 24rpx rgba(0, 122, 255, 0.3);
	}
	
	.checkmark {
		font-size: 80rpx;
		color: #ffffff;
		font-weight: bold;
		line-height: 1;
	}
	
	/* 成功文字 */
	.success-text {
		font-size: 36rpx;
		color: #333333;
		font-weight: 500;
		margin-bottom: 80rpx;
		text-align: center;
	}
	
	/* 返回按钮 */
	.return-btn {
		width: 200rpx;
		height: 80rpx;
		background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
		border-radius: 40rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		box-shadow: 0 4rpx 16rpx rgba(0, 122, 255, 0.3);
	}
	
	.btn-text {
		font-size: 32rpx;
		color: #ffffff;
		font-weight: 500;
	}
</style>
